﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sinacor.OMM.ConnectionManager.ErrorHandlers
{
    public class ErrorHandler
    {
        public PSE.Framework.Messaging.Msmq Msmq { get; set; }
        public Exception Exception { get; set; }
        public IErrorHandler Handler { get; set; }

        public string HandleError()
        {
            return Handler.HandleError(Msmq, Exception);
        }
    }
}
